package com.example.design.bilibili.adapter.interfaceAdapter;

/**
 * 接口适配器模式
 */
public class Client {

    public static void main(String[] args) {
        AbsAdapter adapter = new AbsAdapter() {
            @Override
            public void m1() {
                System.out.println("使用了M1方法");
            }
        };

        adapter.m1();
    }
}
